@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>收银中心管理</h5>
            </div>
            <div class="ibox-content layui-form-pane">
                <div class="row">
                    <div class="layui-form-item">
                        <label class="layui-form-label">名称</label>
                        <div class="layui-input-inline">
                            <input type="text" name="name" id="name" placeholder="单号/收货人/联系号码" class="layui-input">
                        </div>
                        <label class="layui-form-label">交易人</label>
                        <div class="layui-input-inline">
                            <input type="text" name="pname" id="pname" placeholder="交易人" class="layui-input">
                        </div>
                        <div class="layui-input-inline" style="width: 80px">
                            <select id="dj_type" class="selectpicker" data-width="80px" multiple>
                                <option value="1">自提</option>
                                <option value="2">配送</option>
                                <option value="3">中转</option>
                            </select>
                        </div>
                        <div class="layui-input-inline" style="width: 80px">

                            <select id="feeType" class="selectpicker" data-width="80px" multiple>
                                @for(fee in fees){
                                <option value="${fee.id}">${fee.fee_name}</option>
                                @}
                            </select>

                        </div>
                        <div class="layui-input-inline" style="width: 80px">

                                <select id="auditStatus"class="selectpicker" data-width="80px" multiple>
                                    <option value="0">未结算</option>
                                    <option value="1">未核销</option>
                                    <option value="2">坏账</option>
                                    <option value="3">已清</option>
                                </select>
                        </div>
                        <div class="layui-input-inline" style="width: 80px">
                            <select id="payMode"class="selectpicker" data-width="80px" multiple>
                                <option value="0">现金</option>
                                <option value="1">支付宝</option>
                                <option value="2">微信</option>
                                <option value="3">银行转账</option>
                                <option value="4">其他</option>
                            </select>
                        </div>

                    </div>
                    <div class="row">

                        <div class="col-sm-4 ">
                            <#TimeCon id="beginTime" name="开始日期" isTime="false" pattern="YYYY-MM-DD"/>
                        </div>
                        <div class="col-sm-4">
                            <#TimeCon id="endTime" name="结束日期" isTime="false" pattern="YYYY-MM-DD"/>
                        </div>
                        <div class="col-sm-3">
                            <#button name="搜索" icon="fa-search" clickFun="TOrderFee.search()"/>
                        </div>
                    </div>


                    <div class="hidden-xs" id="TOrderFeeTableToolbar" role="group">

                        <#button name="增加款项" icon="fa-plus" clickFun="TOrderFee.openAddTOrderFee()"/>

                        <#button name="收付款" icon="fa-plus" clickFun="TOrderFee.openTOrderFeeDetail()" space="true"/>
                        @if(shiro.hasPermission("/tOrderFee/delete")){
                        <#button name="标记坏账" icon="fa-plus" clickFun="TOrderFee.delete()" space="true"/>
                        @}
                    </div>
                        应收:<span style="color: #00B83F;size: 15px" id="ys">0</span>,应付:<span style="color: #8a1f11;size: 15px" id="yf">0</span>
                    <div id="offHight"></div>
                    <#table id="TOrderFeeTable"/>
                </div>
            </div>
        </div>
    </div>
</div>
</div>
<script src="${ctxPath}/static/modular/system/tOrderFee/tOrderFee.js"></script>
@}
